using System.Linq;
using NpCrm.DataAccess.Core;
using NpCrm.Domain;

namespace NpCrm.DataAccess.Contracts
{
    public interface IAddressRepository : IRepository<Address, int>
    {
        IQueryable<Address> GetByCity(string city);
        IQueryable<Address> GetByPostalCode(string postalCode);
    }
}